/*
 * Copyright notice
 */

package com.gtd.ws

/**
 * Provide some Rest Exception Code and Message for controller's usage
 *
 * @author hoatle
 *         hoatlevan at gmail dot com
 * @since  1.0
 * @since  Jul 13, 2009
 */
class RestException {
  static final String CODE_NO_ACTION_SPECIFIED = "rest.no-action-specified"
  static final String CODE_NOT_SUPPORTED_ACTION = "rest.not-supported-action"
  static final String CODE_NOT_SUPPORTED_METHOD = "rest.not-supported-method"
  //Messages for error code
  static final String MSG_NO_ACTION_SPECIFIED = "No action specified."
  static final String MSG_NOT_SUPPORTED_ACTION = "Rest action not supported."
  static final String MSG_NOT_SUPPORTED_METHOD = "Not supported method request."
}



